package model

// RegisterRequest 注册请求结构体
type RegisterRequest struct {
	//validate -mac 版本
	Username string `json:"username" validate:"required,min=3,max=50"`
	RealName    string `json:"realname" validate:"required,realname"`
	Password string `json:"password" validate:"required,min=6"`
}

// LoginRequest 登录请求结构体
type LoginRequest struct {
	Username string `json:"username" binding:"required"`
	Password string `json:"password" binding:"required"`
}
